package com.pen.changgou.user.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author yaodao
 * @email lfy@pen.changgou.com
 * @date 2020-11-29 22:19:49
 */
@ApiModel
@Data
@TableName("oauth_client_details")
public class OauthClientDetails implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 客户端ID，主要用于标识对应的应用
	 */
	@TableId
	@ApiModelProperty(name = "clientId",value = "客户端ID，主要用于标识对应的应用")
	private String clientId;
	/**
	 * 
	 */
	@ApiModelProperty(name = "resourceIds",value = "")
	private String resourceIds;
	/**
	 * 客户端秘钥，BCryptPasswordEncoder加密算法加密
	 */
	@ApiModelProperty(name = "clientSecret",value = "客户端秘钥，BCryptPasswordEncoder加密算法加密")
	private String clientSecret;
	/**
	 * 对应的范围
	 */
	@ApiModelProperty(name = "scope",value = "对应的范围")
	private String scope;
	/**
	 * 认证模式
	 */
	@ApiModelProperty(name = "authorizedGrantTypes",value = "认证模式")
	private String authorizedGrantTypes;
	/**
	 * 认证后重定向地址
	 */
	@ApiModelProperty(name = "webServerRedirectUri",value = "认证后重定向地址")
	private String webServerRedirectUri;
	/**
	 * 
	 */
	@ApiModelProperty(name = "authorities",value = "")
	private String authorities;
	/**
	 * 令牌有效期
	 */
	@ApiModelProperty(name = "accessTokenValidity",value = "令牌有效期")
	private Integer accessTokenValidity;
	/**
	 * 令牌刷新周期
	 */
	@ApiModelProperty(name = "refreshTokenValidity",value = "令牌刷新周期")
	private Integer refreshTokenValidity;
	/**
	 * 
	 */
	@ApiModelProperty(name = "additionalInformation",value = "")
	private String additionalInformation;
	/**
	 * 
	 */
	@ApiModelProperty(name = "autoapprove",value = "")
	private String autoapprove;

}
